package com.sun.electric.compression.api
import java.io.OutputStream
import java.nio.ByteBuffer

class BZIP2OutputStreamScala(outputStream: OutputStream, blockSizeFactor: Int, nThreads: Int) extends BZIP2OuputStream(outputStream, blockSizeFactor, nThreads) {

	def this(outputStream: OutputStream, nThreads: Int) = this(outputStream, 9, nThreads);
	
	override def write(src : ByteBuffer) = {
		logger.warn("Implement me");
		channel.write(src);
	}
	
	override def getAlgoName() = "BZip2Scala"
	
}